import { isH5 } from '@/utils/platform'

export default isH5
  ? process.env.NODE_ENV == 'production'
    ? process.env.VUE_APP_API_URL
    : location.origin + '/api'
  : process.env.VUE_APP_API_URL
